package com.example.demo.dto;

import com.example.demo.model.es.TorrentES;

public class TorrentSearchResult {
    private TorrentES torrentES;
    private Long downloads;
    private String cost;
    private Long fileSize;
    private String type;
    private String fileName;
    private Long id;
    private String formattedSize; // 格式化后的文件大小



    // Getter 和 Setter 方法

    public TorrentES getTorrentES() {
        return torrentES;
    }

    public void setTorrentES(TorrentES torrentES) {
        this.torrentES = torrentES;
    }

    public Long getDownloads() {
        return downloads;
    }

    public void setDownloads(Long downloads) {
        this.downloads = downloads;
    }
    public String getCost() {
        return cost;
    }
    public void setCost(String cost) {
        this.cost = cost;
    }
    public Long getFileSize() {
        return fileSize;
    }

    public Long getId() {
        return id;
    }

    public String getFileName() {
        return fileName;
    }

    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getFormattedSize() {
        return formattedSize;
    }
    public void setFormattedSize(String formattedSize) {
        this.formattedSize = formattedSize;
    }
}